* {
  margin: 0;
  padding: 0;
  font-size: 12px;
  list-style: none;
  text-decoration: none;
}

.container {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  padding: 0 5em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(to bottom, #bea2e7 0%, #86b7e7 100%);
  line-height: 24px;

  &.no-animation {
    .item-group {
      animation-play-state: paused;
    }
  }

  .item-group {
    background: #fff;
    max-width: 460px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px 20px 20px 100px;
    padding: 6px 20px 6px 6px;
    animation: animate 15s linear infinite;
    animation-delay: calc(3s * var(--delay));
    position: absolute;
    opacity: 0;

    &:last-child {
      animation-delay: calc(-3s * var(--delay));
    }

    .item-box {
      display: flex;
      align-items: center;

      .img {
        width: 90px;
        height: 90px;

        img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
          box-shadow: 0 0 10px #888888;
        }
      }

      .desc {
        margin-left: 20px;

        .name {
          font-size: 18px;
          font-weight: bold;
        }
        .lines{
          font-size: 14px;
          color: #333;
        }
      }
    }

    .follow-btn {
      font-size: 14px;
      letter-spacing: 4px;
      margin-left: 15px;
      border-radius: 16px;
      font-weight: bold;
      padding: 5px 26px;
      color: #fff;
      background: linear-gradient(to bottom, #bea2e7 0%, #86b7e7 100%);
    }

    .del-follow-btn{
      font-size: 14px;
      letter-spacing: 4px;
      margin-left: 15px;
      border-radius: 16px;
      font-weight: bold;
      padding: 5px 26px;
      color: #fff;
      background: linear-gradient(to bottom, #1f1f1f 0%, #a8a8a8 100%);
    }

  }
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.5);
  }

  5%,
  20% {
    opacity: 0.4;
    transform: translateY(100%) scale(0.7);
  }

  25%,
  40% {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    transform: translateY(0%) scale(1);
  }

  45%,
  60% {
    opacity: 0.4;
    transform: translateY(-100%) scale(0.7);
  }

  65%,
  100% {
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
  }
}